package com.mz.mattress.api.wx;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "wx")
public class WxProperties {

    //支付
    private String privateKey;
    private String privateCertPem;
    private String spMchId;
    private String apiV3Key;

    private String envVersion;

    //客户端小程序
    private String clientAppId;
    private String clientAppSecret;

    //商家端
    private String merchantAppId;
    private String merchantAppSecret;

    //公众号
    private String mpAppId;
    private String mpAppSecret;

    //支付
    private String merId;
    private String merSecret;
    private String keyPath;
    private String payNotifyUrl;
    private String refundNotifyUrl;

}
